import http from '@/utils/request'


/**
 * 获取验证码图片及uuid
 * @param {*} data 
 * @returns 
 */

 export const captchaImage = (data) =>{
  return http({
    url: '/captchaImage',
    method: 'get',
  })
}

/**
 * 登录请求
 * @param {*} data 
 * @returns 
 */
export const reqLogin = (data) =>{
  return http({
    url: '/login',
    method: 'post',
    data
  })
}